package com.atguigu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 *
 */
@Controller
public class HelloController {
    //处理具体的请求
    //@RequestMapping请求映射
    @RequestMapping("")
    public String protal(){
        //将逻辑视图返回
        return "index";
    }
}
